package com.kkb.service;

import com.kkb.dao.UserDao;
import com.kkb.pojo.User;

import java.sql.SQLException;
import java.util.Map;

public class UserService {
    UserDao userDao = new UserDao();
    public void signUpHandler(User user) throws SQLException {
        this.userDao.signUpHandler(user);
    }

    public Map<String, Object> signInHandler(String username, String password) throws SQLException {
         return this.userDao.signInHandler(username, password);
    }
}
